<ui:composition xmlns="http://www.w3.org/1999/xhtml"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:p="http://primefaces.org/ui"
	template="../templates/ui.xhtml">

	<ui:define name="content">
	
		<h1 class="title ui-widget-header ui-corner-all">FileUpload</h1>
		<div class="entry">
						
			<p:menu styleClass="homeMenu">
				<p:submenu label="Examples">
                    <p:menuitem url="/ui/fileUploadSimple.jsf" value="Basic Upload" />
					<p:menuitem url="/ui/fileUploadSingle.jsf" value="Single Upload" />
					<p:menuitem url="/ui/fileUploadMultiple.jsf" value="Multiple Upload"/>
					<p:menuitem url="/ui/fileUploadAuto.jsf" value="Auto Upload"/>
                    <p:menuitem url="/ui/fileUploadDnd.jsf" value="Drag and Drop"/>
				</p:submenu>
			</p:menu>
			
			<span class="homeText">FileUpload is an HTML5 solution with graceful degradation for legacy browsers. It has two modes, "simple" fileUpload
            uses native browser upload and "advanced" mode features dragdrop from operating system, progress bar, multi file uploads, upload cancelling,
            size limits, file restrictions and more. FileUpload does not require any kind of plugin like flash.</span>
		
		</div>
			
	</ui:define>
</ui:composition>